<?php

namespace App\Admin\Controllers;

use App\Admin\Forms\Gather;
use App\Http\Controllers\Controller;
use Encore\Admin\Layout\Content;

class GatherController extends Controller
{
    public function gather(Content $content)
    {
        return $content
            ->title('影视采集')
            ->body(new Gather());
    }

    public function aa()
    {




        $url = "http://www.zuidazy4.com/?m=vod-detail-id-92749.html";
        $model = new \Collect($url);
        dd($model->download('http://tu.tianzuida.com/pic/upload/vod/2019-07-05/201907051562320549.jpg','.png')) ;
//       $aa = $model->collect();
//       dd($aa);

    }
}
